package com.cigs.wcs00a.enums.furnace;

import com.cigs.wcs00a.enums.CodeEnum;

/**
 * @Author: 蔡翔
 * @Date: 2019/10/14 10:06
 * @Version 1.0
 */
public enum FurnancePlc2WcsVarEnum implements CodeEnum {
    /**
     *窑炉任务编号 ，，  后续添加
     **/
    Heart("Heart",6,"S7-1200 station_2.PLC_2.DB500_PLCToWCS.CommunicationStatus.Heart","QBoolean",""),


    /**
     *称重plc
     **/
    ;
    private Integer namespace;
    private String identity;
    private String type;
    private String desc;
    private String name;
    FurnancePlc2WcsVarEnum(String name, Integer namespace, String identity, String type, String desc){
        this.name = name;
        this.namespace = namespace;
        this.identity = identity;
        this.type = type;
        this.desc = desc;
    }
    @Override
    public void set(String name, Integer nameSpace, String identity) {
        this.name = name;
        this.namespace = nameSpace;
        this.identity = identity;
    }
    @Override
    public Integer getNamespace() {
        return namespace;
    }

    @Override
    public String getIdentity() {
        return identity;
    }

    @Override
    public String getType() {
        return type;
    }

    @Override
    public String getName() {
        return name;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
